import request from "@/utils/request"

export const getDefaultTextAPI = ()=>{
    return request({
        url:'/search/default-text'
    })
}

//获取热搜列表
export const getSearchHotListAPI = ()=>{
    return request({
        url:'/search/hot-list'
    })
}


//搜索结果
export const getSearchResultAPI = (data)=>{
    return request({
        url:'/search',
        data
    })

}